package com.gjy.pd.specification;

/**
 * @author 宫静雨
 * @version 1.0
 * @since 2023-01-17 14:38:17
 */
public class BizSpecification extends CompositeSpecification {

    private String obj;

    public BizSpecification(String obj) {
        this.obj = obj;
    }

    @Override
    public boolean isSatisfiedBy(Object candidate) {
        return candidate == obj;
    }
}
